# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=wf-config
pkgver=0.4.1
pkgrel=0
pkgdesc="Library for managing configuration files written for Wayfire"
url="https://wayfire.org"
arch="all"
license="MIT"
makedepends="
	meson
	libevdev-dev
	libxml2-dev
	glm-dev
	linux-headers
	"
options="!check" # no testsuite
subpackages="$pkgname-dev"
source="https://github.com/WayfireWM/wf-config/releases/download/$pkgver/wf-config-$pkgver.tar.xz"

build() {
	abuild-meson . output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="99d11dfc04e80645cc29491c9ef913015a6ad6f49f351b041b277ecc2e24f9b47fc96a22ce031e51b577fe4b31df07c448d2fafb715e8fe5118e677ccbf9abe8  wf-config-0.4.1.tar.xz"
